package com._54programer.hazelcast;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com._54programer.ws.SID;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.Message;
import com.hazelcast.core.MessageListener;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@Component
public class HReceive /*implements MessageListener<String>*/ {

	@Autowired
	private HazelcastInstance Hi;

	@Autowired
	private SID SSID;

	/*@Override
	public void onMessage(Message<String> message) {
		log.info("收到{}消息:{}", SSID.ID(), message);
	}*/

}
